﻿using FrameDesign.Example1.Scripts.Command;
using FrameDesign.FrameWork;
using FrameDesign.FrameWork.Rule;
using UnityEngine;

namespace FrameDesign.Example1.Scripts.Game
{
    
    public class ErrorArea : MonoBehaviour,IController
    {
        private void OnMouseDown()
        {
            this.SendCommand<MissCommand>();
        }

        public IArchitecture GetArchitecture()
        {
            return PointGame.Interface;
        }
    }
}